﻿using DuToanT2.Models.DomainBase;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuToanT2.Models
{
    public class DinhMuc_CongViec : EntityBase
    {
        [Required]
        [StringLength(150)]
        [Display(Name = "Tên công việc")]
        public string Name { get; set; }

        public int CalculationUnitId { get; set; }

        public virtual CalculationUnit CalculationUnit { get; set; }

        public virtual ICollection<DinhMuc_ThanhPhanHP> DinhMuc_ThanhPhanHPs { get; set; }

        public virtual ICollection<DinhMuc_PhanCap> DinhMuc_PhanCaps { get; set; }

        public virtual ICollection<HangMuc_CongViec> HangMuc_CongViecs { get; set; }
    }
}
